package com.customer.mapper;

import com.customer.model.Customer;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 2 * @Author: xy
 * 3 * @Date: 2021/10/19 下午 4:47:58
 */
@Mapper
public interface CustomerMapper {
    int selectCustomerAdd(String phoneNumber);


    void insertCustomer(String phoneNumber);


    //    List<Customer> findAll();

    List<Customer> findAll(String phoneNumber);

    int deleteOneById(int id);


    Customer selectOneById(int id);

    int update(Customer customer);
}
